package com.yupi.mianshiya.model.entity;

import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
public class TaskMessage {

    private  Long taskId;
    private  String Exchange = "task.exchange";
    private  String routingKey = "task.routingKey";
    private  String queueName = "batch-task-queue";
    public TaskMessage(Long taskId) {
        this.taskId = taskId;
    }
}
